package com.chuyue.feiyong;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Bean;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.view.InternalResourceViewResolver;

//@ServletComponentScan
@SpringBootApplication
public class FeiyongApplication {

	public static void main(String[] args) {
		SpringApplication.run(FeiyongApplication.class, args);
	}

//	@Bean
//	public InternalResourceViewResolver setupViewResolver() {
//		InternalResourceViewResolver resolver = new InternalResourceViewResolver();
//		/** 设置视图路径的前缀 */
//		resolver.setPrefix("/html/");
//		/** 设置视图路径的后缀 */
//		resolver.setSuffix(".html");
//		return resolver;
//	}
}
